package code;

import com.cf.code.core.CodePageGenerator;
import com.cf.model.Category;
import com.cf.model.SKU;
import com.cf.model.SPU;

/**
 * boot-shop-Code
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/8/17 下午 03:43
 */
public class Code {
    public static void main(String[] args) throws Exception {
        CodePageGenerator codePageGenerator = new CodePageGenerator();
        codePageGenerator.generateTemplate(SKU.class,"F:\\share\\boot-shop\\boot-shop-shopping-mall\\boot-shop-good\\boot-shop-good-core\\src\\main\\resources\\template-good\\sku\\");
        codePageGenerator.generateTemplate(SPU.class,"F:\\share\\boot-shop\\boot-shop-shopping-mall\\boot-shop-good\\boot-shop-good-core\\src\\main\\resources\\template-good\\spu\\");
        codePageGenerator.generateTemplate(Category.class,"F:\\share\\boot-shop\\boot-shop-shopping-mall\\boot-shop-good\\boot-shop-good-core\\src\\main\\resources\\template-good\\category\\");
    }
}
